home *** CD-ROM | disk | FTP | other *** search
- Path: mudskipper.cac.psu.edu!user
- From: fcusack@tdx.org (frank.)
- Newsgroups: comp.lang.c++
- Subject: Re: Q: how to create an Object without creating the whole object
- Date: Thu, 14 Mar 1996 21:06:04 -0400
- Organization: Soylent Green is People!!
- Message-ID: <fcusack-1403962106040001@mudskipper.cac.psu.edu>
- References: <31454EC9.167E@imacsg2.epfl.ch> <4i9eqo$dtu@uuneo.neosoft.com>
- NNTP-Posting-Host: mudskipper.cac.psu.edu
-
- In article <4i9eqo$dtu@uuneo.neosoft.com>, Wmatthew@lan-aces.com (W.
- Matthews) wrote:
-
- > >
- > >Say you've got a class A which is composed of say 10 other class
- > >(inheritance multiple and single whatever). But if I create an object
- > >with new this class 'explodes' (all the member functions are created of
- > >all the parentclasses) so you want the initialize only those parent
- > >class you need say only class B.
-
- Not sure I understand. Member functions are only created once for any
- class, no matter how many instances there are, AFAIK.
-
- ~Frank
- -- I am Pentium of Borg. Division is futile. You will be approximated. --
- -- PGP ID: 1C0F6685 | NCB#56 | Visit me --> http://www.tdx.org/~fcusack/ --
-